<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div {
            position: relative;
            width: 500px;
            height: 300px;
            margin: 100px auto;
        }

        .div>img {
            width: 100%;
            height: 100%;
        }
        .div::before{
            content: "";
            display: none;
            position: absolute;
            top: 0;
            width:100%;
            height:100%;
            background-color: rgba(0, 0, 0, 0.419);
        }
        .div a {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -24px;
            margin-left: -24px;
        }
        .div:hover::before{
            display: block;
        }
    </style>
</head>

<body>
    <div class="div">
        <img src="/pink/imgs/zyz_txt/王昭君.png" alt="">
       <a href="">
            <img src="/pink/imgs/zyz_txt/视频播放2.png" alt="">
        </a>
       
    </div>
</body>

</html>